package com.zhumengquan.wozhi.service;

import com.zhumengquan.wozhi.domain.MeetingRoom;
import com.zhumengquan.wozhi.domain.User;
import com.zhumengquan.wozhi.mapper.FindAllMeetingRoomDao;
import com.zhumengquan.wozhi.mapper.FindAllUserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FindAllMeetingRoomService {
    @Autowired
    private FindAllMeetingRoomDao findAllMeetingRoom;

    public List<MeetingRoom> getUser(){
        List<MeetingRoom> result = findAllMeetingRoom.findAllMeetingRoom();
        System.out.println(result);
        return result;
    }
}
